/*
 * ConnectPoint.java
 *
 * Created on 13 maart 2008, 15:32
 *
 * @author wijnand.schepens@hogent.be
 */

package diagram;

import java.awt.Graphics2D;

public interface ConnectPoint
{
	public int  getX();
	public void setX(int x);

	public int  getY();
	public void setY(int y);
	
	public void drag(int relX, int relY);
	
	public boolean isNear(int x, int y);
	
	public boolean isHighlighted();
	public void setHighlighted(boolean v);
	
	public void paint(Graphics2D g);
}
